org.eclipse.vtp.framework.interactions.core.commands
Class ConversationCommand

java.lang.Object
  extended by org.eclipse.vtp.framework.interactions.core.commands.ConversationCommand
All Implemented Interfaces:
ICommand
Direct Known Subclasses:
BridgeMessageCommand, DataRequestCommand, EndMessageCommand, ExternalReferenceCommand, FinalCommand, InitialCommand, InputRequestCommand, MetaDataMessageCommand, MetaDataRequestCommand, OutputMessageCommand, SelectionRequestCommand, TransferMessageCommand

public abstract class ConversationCommand
extends java.lang.Object
implements ICommand

Base class for the conversational commands.

Author:
Lonnie Pryor

Field Summary
static int INPUT_TYPE_CUSTOM
          Any custom type of input.
static int INPUT_TYPE_FILE
          The type of input that contains a resource path.
static int OUTPUT_TYPE_FILE
          The type of output that contains a resource path.
static int OUTPUT_TYPE_TEXT
          The type of output that contains raw text.
 
Constructor Summary
ConversationCommand()
           
 
Method Summary
 java.lang.Object accept(ICommandVisitor visitor)
          Attempts to invoke an implementation-dependent visit method on the supplied visitor, calling ICommandVisitor.visitUnknown(ICommand) if such a method is not available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.vtp.framework.spi.ICommand
exportContents, importContents
 

Field Detail

OUTPUT_TYPE_FILE

public static final int OUTPUT_TYPE_FILE
The type of output that contains a resource path.

See Also:
Constant Field Values

OUTPUT_TYPE_TEXT

public static final int OUTPUT_TYPE_TEXT
The type of output that contains raw text.

See Also:
Constant Field Values

INPUT_TYPE_FILE

public static final int INPUT_TYPE_FILE
The type of input that contains a resource path.

See Also:
Constant Field Values

INPUT_TYPE_CUSTOM

public static final int INPUT_TYPE_CUSTOM
Any custom type of input.

See Also:
Constant Field Values
Constructor Detail

ConversationCommand

public ConversationCommand()
Method Detail

accept

public final java.lang.Object accept(ICommandVisitor visitor)
                              throws java.lang.NullPointerException
Description copied from interface: ICommand
Attempts to invoke an implementation-dependent visit method on the supplied visitor, calling ICommandVisitor.visitUnknown(ICommand) if such a method is not available.

Specified by:
accept in interface ICommand
Parameters:
visitor - The visitor to accept.
Returns:
The value returned by the visitor's visit method.
Throws:
java.lang.NullPointerException - If the supplied visitor is null.